package com.acme;

public class Arrays {
	public static void main(String[] args) {
		int[] array = new int[5]; 
		System.out.println(array[2]);
		for (int i = 0; i < array.length; i++) array[i] = i+1;
		System.out.println(array.length);	
//		array[6] = 6; ArrayIndexOutOfBoundaryException
	}

}
